/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package wicketsystem;

/**
 *
 * @author Daryna_Ragimova
 */
public class Wicket {

    private WicketSystem system;

    public Wicket(WicketSystem system) {
        this.system = system;
    }

    public boolean checkCard(Card card) {
        return system.check(card);
    }
}
